package com.example.runner;

import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;

/**
 * Description：springboot启动后调用的任务类
 * Author；JinHuatao
 * Date: 2021/12/16 15:02
 */
@Component
public class TaskRunner implements ApplicationRunner {

    @Override
    public void run(ApplicationArguments args) throws Exception {
        System.out.println("**************【执行任务】***************");
    }

}
